package com.alibaba.algo.cooperation.feign.vo.enums;

import lombok.Getter;

/**
 * 部分系统会使用的数据字典枚举
 */
@Getter
public enum SysDictCodeEnum {

    PAGE_DICT("page_dict", "页面内容数据字典", 1, "页面内容，比如logo、标题等", null),
    PAGE_DICT_TITLE("page_dict_title", "浏览器标题栏", 1, "标题栏", PAGE_DICT.code),
    PAGE_DICT_SYS_NAME("page_dict_sys_name", "系统名称", 1, "系统名称", PAGE_DICT.code),
    PAGE_DICT_MODULE_NAME("page_dict_module_name", "模块名称", 1, "模块名称", PAGE_DICT.code),

    ;

    /**
     * 字典项code
     */
    private String code;
    /**
     * 字典项name
     */
    private String name;
    /**
     * 排序序号
     */
    private Integer sort;
    /**
     * 描述
     */
    private String desc;
    /**
     * 父字典项code
     */
    private String parentCode;

    SysDictCodeEnum(String code, String name, Integer sort, String desc, String parentCode) {
        this.code = code;
        this.name = name;
        this.sort = sort;
        this.desc = desc;
        this.parentCode = parentCode;
    }


}
